/**
 * @file styles/objects/article_details.less
 *
 * Copyright (c) 2014-2018 Simon Fraser University
 * Copyright (c) 2003-2018 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @brief Styles applying to a summary view of an article for lists
 * @link templates/frontend/objects/article_details.tpl
 */
.obj_article_summary {
	.pkp_helpers_clear();

	.cover {
		display: block;
		margin-bottom: @double;

		img {
			display: block;
			max-height: 250px;
			width: auto;
		}
	}

	> .title {
		font-family: @font-heading;
		font-size: @font-base;
		line-height: @line-base;
		font-weight: @bold;

		a {
			text-decoration: none;
		}
	}

	.subtitle {
		display: block;
		margin-top: 0.25em;
		margin-bottom: 0.5em;
		font-weight: @normal;
		color: @text-light;
	}

	.meta {
		position: relative;
		padding-top: @half;
		font-size: @font-sml;
		line-height: @double;
	}

	.pages,
	.published {
		color: @text-light;
	}

	.galleys_links {
		margin-top: @base;
	}

	@media(min-width: @screen-tablet) {

		.authors {
			padding-right: 5em;
		}

		.pages {
			position: absolute;
			top: 0;
			right: 0;
			line-height: @line-lead;
		}

		.cover {
			float: left;
			width: 25%;
			margin-right: @double;

			img {
				height: auto;
				max-height: none;
			}
		}
	}

	@media(min-width: @screen-desktop) {

		.cover {
			margin-right: @triple;
			margin-bottom: @triple;
		}
	}
}
